package com.caiwangdai.app

/**
 * @project KotLinProject
 * @author 艹羊
 * @date 2017/6/15 上午11:08
 * @description
 */
object Const {

    //web
    val TARGET_TITLE = "target_title"//目标标题
    val TARGET_URL = "target_url"//目标URL

    //intent
    val INTENT_REQUEST_LOGIN = 0x001


    val INTENT_REQUEST_CARD_RIGHT_SIZE = 0x011//正面
    val INTENT_REQUEST_CARD_REVERSE_SIZE = 0x012//反面

    val INTENT_REQUEST_ORDER_DETAIL = 0x021//结果页面


    val MSG_COUNT_DOWN = 60//倒计时时间

    //pay
    val BASE_ID = 0
    val RQF_PAY = BASE_ID + 1
    val RQF_INSTALL_CHECK = RQF_PAY + 1

    val RET_CODE_SUCCESS = "0000"// 0000 交易成功
    val RET_CODE_SINGE_WRONG = "0103"// 0103 商户签名验证失败[600103]
    val RET_CODE_PROCESS = "2008"// 2008 支付处理中
    val RESULT_PAY_SUCCESS = "SUCCESS"
    val RESULT_PAY_PROCESSING = "PROCESSING"
    val RESULT_PAY_FAILURE = "FAILURE"
    val RESULT_PAY_REFUND = "REFUND"
}